SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c07c006bf96cf61c6eda1eb9c61e0a2fbd8dc64c608983a95e2f696eecf2814d' 
  AND token = 'umRkhJ5y9yzDSYVVNwLAjKE3tZr0+hSl07FDd6ixRoY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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