SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '71b77fcf8a640a91259e755b97ef5ad060bfaca7cbfdea56b9853f54b9029fcd' 
  AND token = 'E2QIbR0zPQ1dxCoslQrHJd8jpafq0eD4iBBWA5CLFyo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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