SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20050129699422a2ad8a54466904d576cd7c1972d176647dfbdf920a062b8ea1' 
  AND token = 'AYXWU5Q/Dt24RRehi3i2GG+MPgXgCVS84bl8uD+57DA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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