SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'db3c964085409b5427b0a4752549d4c7350a79239967666478dc98f3239e9e6d' 
  AND token = '6rV6DqIZX2o90gcgEt38ixDnjfwV5GFp8h2vegZdqUI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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