SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e7855977b85a757d1683f17ddfe556788e679427b4f6a2c119c3a8ab2e5e8c3' 
  AND token = 'cnwcAWsNhCpGBJOgtfHOS45y0cyl+SH3ZlLKcG2gY4Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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