SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccd00f79df3a1344d553f05c75dac4db46074fa93da8990884fbcd6df6d88489' 
  AND token = '8HrBQKzj99d8S48yMzve5f1krA6Mdq3csNMr+VJBR7Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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