SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0e9de9c35463955adb61f59db8a00189c5678d4cf10f0afae2a047d3051b518b' 
  AND token = 'gnY114Txzr/B/h2ua4QKd/uTW01sfs5WtSoMinlLhEg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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