SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '03ca416cfdf27c2fdd588e842398ff1297e8359d4494e231f57fa4c2d1ccc2ca' 
  AND token = 'NWBBPXXnzsQ+fLjfooyNrixIfP2ZkmWs6ssjuQNjZc0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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