SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f24e7ca5d8e2c6430bee007f0b940c56555e25036f5652a831912aa1bd321062' 
  AND token = 'Rsj6fFiDnOY3UnVaJkUFFfJOSHS6iwhJ0M0pBmz9lOE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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