SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eac97b8a5869f4aa90616d6556be8aa76bebfc0945dc71380c1142e429d1c67c' 
  AND token = 'cGLjkjethFivi4GXGEd4+R5nH343NyOg7jIXEDaesF8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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