SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c3feb0e1271f3d8342fa1363f278b59e1d0823be182df26dc591e87c69399ae' 
  AND token = 'UvbfTlYKhrZmO8x/4m6j4wovWlyaZrjpkUBIgAREkm4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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