SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12abca4d039aab79e8f30c4c035617812fe0b9ad2cdd370e6d95ecfa0ae479be' 
  AND token = 'oAQb+9lx7kJYvpLclhAxGalkd1zd4ibOZMFpzktTl4I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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