SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c8d71abdd59d3acb751d27d9711fd983114d21d4d3b7580806498c16200a097' 
  AND token = '6AVVlLEKr2xj6mLW8t4o+3wU7QT8YwHJKOUgZmUBe64=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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