SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bb65244ed7340fe83c060f2102a98501773054081bf4fbefdd6237548462832f' 
  AND token = 'N5gXeNWSGGZcMX3GlXx4rF0GhZT7TqxSvRp5e764yIQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00058

JSON explain

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