SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1bb8995b39dee09f7bf6638fd9f26d62a42090106afbbaf33201f23b304b2df8' 
  AND token = 'JDZo+JwFD2tknJ2lr2fnGG9BFqQ3vedmuZ7mPVK/PJ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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