SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c080afa4237fd947e4d593584568a81b576938463ed6069d79057b0c4ab103ce' 
  AND token = 'vivJeERu1zORDxoGfubwclNV4cc7TM05tsm4xA/oT5c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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