SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ef543ae8675b7ae08e2051db2913137b37278dac01eae26c712268ce0594b4c' 
  AND token = 's7AK/sts0sNOEUq7gPuK1/9JgyH8kQtOyJch2AwkSrw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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