SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '645f5905c56eb96e34c1b8d4e5114295a112beaf9aa907d712c61cfe09b38050' 
  AND token = 'ZfmYo/Hc9IxBbt4pjJOHUAdktNa30RRGwV57adZvCnk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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