SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a31c3f999ea9727c82d88b9489dd49c2a87d8591bddb350237417c2c1cb56661' 
  AND token = 'cCLPWWXJE+ue7/lliB/0jXnr4sROk5+DIuCnhvnEBvQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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