SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4a4adde394f442cbdecd81ce65af472ef4c0d27cf04a8169b3025192e4de757' 
  AND token = 'XPb1nHq6ahRBR2zkAfgfZ/7GD1Gn0jqdDEEp8exlOfo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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