SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '00a38a2adb3aff82601241719707fa4a54bddb2cdce06fac7e71f16092c3cbc4' 
  AND token = 'QJBx3wPp6jNNHgd/173ZSlHau5+op3pHRMLlUbC0lz0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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