SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9107099f7862839a2b12f2567a7f63f2a558e5d3b0c02c89d6ede484dd2a798c' 
  AND token = 'gy3TeY/nHOrKCYGqmg7nVGGKvmQ5PNSlZ8yUj7qqusA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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