SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ebdbd3b4b02b3a1bbfa351a8f54c2866d6bbdc94bf102231a980ebcae4d979ef' 
  AND token = 'WiFJevuMROpOx3hnBCeJse5rhPGi51jIydD95HcHeJQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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