SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6daede5adf714ea6b165d03b6deecb1b49e3e6a330b1b6ab3616ffbace33aaad' 
  AND token = 'N7OaxjyuHn0C3Nzbc7dNrLADi/QvBXo3ZD1orB+5+gE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}