SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0a59dded33ea2ca0b3ed33502f93e2cfd7f5311b2e3aeae70b98381fe12ef7d1' 
  AND token = 'JAY0WX45XcErlSMJz8ysXro6qEeUEb/uKKRhaiCcVOU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00060

JSON explain

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